package com.jyhz.model.controller;

import com.jyhz.common.dto.HttpResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author:谢君臣
 * @Date:2021/6/12-19:17
 * @version:1.0
 * @function:
 */
@RestController()
public class TestController {

    @GetMapping("/test")
    public HttpResult test(){
        Map<String,String> m = new HashMap<>();
        m.put("张三","李四");
        return new HttpResult(200,"ok",m,String.valueOf(System.currentTimeMillis()));
    }


}
